package com.swlz.entity;

import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 商城产品类别
 * TableName : MALL_TYPE
 * ClassName : com.swlz.entity.MallType
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-16 03:36:47
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("MALL_TYPE")
public class MallType  {


	/**
	 * <pre>产品类别编号 - MALL_TYPE_ID</pre>
	 **/
	@Id
	private Long mallTypeId;
	/**
	 * <pre>商城类别编码 - MALL_TYPE_CODE</pre>
	 **/
	private String mallTypeCode;
	/**
	 * <pre>商城类别名称 - MALL_TYPE_NAME</pre>
	 **/
	private String mallTypeName;
	/**
	 * <pre>父级商城类别编号 - MALL_TYPE_PARENT_ID</pre>
	 **/
	private Long mallTypeParentId;


	/**
	 * <pre>获取产品类别编号</pre>
	 **/
	public Long getMallTypeId() {
        return mallTypeId;
    }

	/**
	 * <pre>设置产品类别编号</pre>
	 **/
    public void setMallTypeId(Long mallTypeId) {
        this.mallTypeId = mallTypeId;
    }

	/**
	 * <pre>获取商城类别编码</pre>
	 **/
	public String getMallTypeCode() {
        return mallTypeCode;
    }

	/**
	 * <pre>设置商城类别编码</pre>
	 **/
    public void setMallTypeCode(String mallTypeCode) {
        this.mallTypeCode = mallTypeCode;
    }

	/**
	 * <pre>获取商城类别名称</pre>
	 **/
	public String getMallTypeName() {
        return mallTypeName;
    }

	/**
	 * <pre>设置商城类别名称</pre>
	 **/
    public void setMallTypeName(String mallTypeName) {
        this.mallTypeName = mallTypeName;
    }

	/**
	 * <pre>获取父级商城类别编号</pre>
	 **/
	public Long getMallTypeParentId() {
        return mallTypeParentId;
    }

	/**
	 * <pre>设置父级商城类别编号</pre>
	 **/
    public void setMallTypeParentId(Long mallTypeParentId) {
        this.mallTypeParentId = mallTypeParentId;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("mallTypeId=");
    	str.append(mallTypeId);
    	str.append(", ");
    	str.append("mallTypeCode=");
    	str.append(mallTypeCode);
    	str.append(", ");
    	str.append("mallTypeName=");
    	str.append(mallTypeName);
    	str.append(", ");
    	str.append("mallTypeParentId=");
    	str.append(mallTypeParentId);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}